package com.collectplus.express.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by joker on 2017/10/13.
 */

public class SerachStationBean implements Serializable {

    /**
     * status : 0
     * message : ok
     * total : 83
     * results : [{"name":"宁安路","location":{"lat":37.730822726707,"lng":115.62047277228},"address":"河北省衡水市桃城区","detail":0,"uid":"441575e486e315b324e0a0c7"},{"name":"宁安路","location":{"lat":37.72980093628,"lng":115.62798288482},"address":"河北省衡水市桃城区","street_id":"0fc0a8c1e39a1d14220262a2","detail":1,"uid":"0fc0a8c1e39a1d14220262a2"},{"name":"宁安路/顺平街(路口)","location":{"lat":37.730105833572,"lng":115.6254959669},"address":"衡水市桃城区宁安路","street_id":"af94bbaaa1f02562901fc9c8","detail":1,"uid":"af94bbaaa1f02562901fc9c8"},{"name":"前进街宁安路","location":{"lat":37.725468795943,"lng":115.65473866296},"address":"22路","detail":0,"uid":"0e976410135ba157d81318d1"},{"name":"顺兴街宁安路口","location":{"lat":37.728771254755,"lng":115.63140697908},"address":"14路","detail":0,"uid":"f37eef4b78a8a010465726d6"},{"name":"前进街宁安路口","location":{"lat":37.726041280222,"lng":115.65523491321},"address":"22路;23路;28路","detail":0,"uid":"c70a5951c16f0c7079b55ca7"},{"name":"宝云街宁安路口","location":{"lat":37.726710908313,"lng":115.64732715391},"address":"14路;22路","detail":0,"uid":"8ce706963c1fc461b5f42f35"},{"name":"康泰街宁安路口","location":{"lat":37.726779288019,"lng":115.64289090177},"address":"22路","detail":0,"uid":"f5c6cccf2704ac9cb9df8fb5"},{"name":"宁安路宝云街口","location":{"lat":37.727221700905,"lng":115.64656107797},"address":"14路;22路","detail":0,"uid":"4742d824ad1721c60782c2b5"},{"name":"宁安路昌明大街口","location":{"lat":37.728775651655,"lng":115.63523057938},"address":"14路","detail":0,"uid":"150c401a69bbf39208f5eb84"},{"name":"祥承小笼包（宁安路店）","location":{"lat":37.726599986402,"lng":115.65193018076},"address":"河北省衡水市桃城区腾达新城东区12号楼底商","street_id":"6085bc8049aa379dca29150f","telephone":"13403283960","detail":1,"uid":"6085bc8049aa379dca29150f"},{"name":"宁安路康泰街口","location":{"lat":37.727646631138,"lng":115.64335715097},"address":"14路;22路","detail":0,"uid":"91b9706c191e27b7841541bf"},{"name":"衡水市卷烟配送中心","location":{"lat":37.72903785185,"lng":115.63491044381},"address":"宁安路与昌明南大街交叉口西100米","street_id":"095a43b70c3308c422f0177a","detail":1,"uid":"095a43b70c3308c422f0177a"},{"name":"意如便利店","location":{"lat":37.727125877485,"lng":115.64833840475},"address":"河北省衡水市桃城区宁安路265","street_id":"0fba775fcaf9863a40d63e17","detail":1,"uid":"0fba775fcaf9863a40d63e17"},{"name":"美一天干洗店","location":{"lat":37.727125877485,"lng":115.64833840475},"address":"河北省衡水市桃城区宁安路腾达新城","street_id":"459ff4995d0e54751e1d1189","detail":0,"uid":"459ff4995d0e54751e1d1189"},{"name":"嘉鑫汽车用品装饰","location":{"lat":37.727199068627,"lng":115.64777213431},"address":"河北省衡水市桃城区宁安路287","street_id":"23244b7ee1e2329e4d776e6e","detail":1,"uid":"23244b7ee1e2329e4d776e6e"},{"name":"喜锐超市","location":{"lat":37.727316711882,"lng":115.64773802551},"address":"衡水市桃城区高新技术产业开发区宝云街宁安路北行20米路东","detail":0,"uid":"53e53481b97db97433621237"},{"name":"阜城油条大饼","location":{"lat":37.726953546895,"lng":115.64946390685},"address":"河北省衡水市桃城区高新技术产业开发区宁安路腾达新城","street_id":"db8ed1a85acd932814c8f6e3","detail":1,"uid":"db8ed1a85acd932814c8f6e3"},{"name":"妙手经络推拿馆","location":{"lat":37.726490310277,"lng":115.65285954225},"address":"何家庄乡宁安路1号衡水市第六中学对面","street_id":"ffc89ba700072ef28936eef6","detail":1,"uid":"ffc89ba700072ef28936eef6"},{"name":"东方门窗，不锈钢。","location":{"lat":37.726853956418,"lng":115.65021526697},"address":"河北省衡水市桃城区宁安路","street_id":"33430713e90bbe60a21de9a3","detail":0,"uid":"33430713e90bbe60a21de9a3"}]
     */
    private int status;
    private String message;
    private int total;
    private List<ResultsBean> results;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ResultsBean> getResults() {
        return results == null ? new ArrayList<ResultsBean>() : results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean implements Serializable {
        /**
         * name : 宁安路
         * location : {"lat":37.730822726707,"lng":115.62047277228}
         * address : 河北省衡水市桃城区
         * detail : 0
         * uid : 441575e486e315b324e0a0c7
         * street_id : 0fc0a8c1e39a1d14220262a2
         * telephone : 13403283960
         */

        private String name;
        private LocationBean location;
        private String address;
        private int detail;
        private String uid;
        private String street_id;
        private String telephone;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getDetail() {
            return detail;
        }

        public void setDetail(int detail) {
            this.detail = detail;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getStreet_id() {
            return street_id;
        }

        public void setStreet_id(String street_id) {
            this.street_id = street_id;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public static class LocationBean implements Serializable {
            /**
             * lat : 37.730822726707
             * lng : 115.62047277228
             */

            private double lat;
            private double lng;

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }
        }
    }
}
